package cn.zhaoyuening.hnistalumnirecord.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * Created by zhao on 17-1-16.
 * 新闻子模块
 */
public class NewsModule {
    private Integer id;
    private String name;
    //模块类型 ModuleType
    private Integer type;
    private Set<News> newsSet = new HashSet<>();

    public NewsModule(String name) {
        this.name = name;
    }

    public NewsModule() {}

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }



    public Set<News> getNewsSet() {
        return newsSet;
    }

    public void setNewsSet(Set<News> newsSet) {
        this.newsSet = newsSet;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
